home *** CD-ROM | disk | FTP | other *** search
/ Risc World 3 / Risc World 3.iso / !RWORLD / UTILITIES / !CDFIX / !HELP next >
Text File  |  1999-03-04  |  5KB  |  141 lines

  1. !CDFix (v1.57 5/03/99)
  2. ~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. This little application is designed to fix various flaws within Acorns CDFS
  5. filing system. It works by ripping the exisitng CDFS module out of the RMA,
  6. patching it, and writing it back. In the process of doing this, the module
  7. grows by about 128 bytes.
  8.  
  9. The bugs fixed are:
  10.  
  11.       *    Filetypes:
  12.     CDFS contains a routine that maps file extensions to filetypes.
  13.     Unfortunately this routine is broken due to a typo. This program
  14.     reassembles working code over the top of the old version.
  15.           
  16.       *    Opaque Files:
  17.     CDs can contain "Opaque files". These are special files which are
  18.     usually associated with ordinary files on the CD. These are
  19.     explained below in more detail. This program patches CDFS so as to
  20.     allow them to be accessed by replacing occurences of "/" with "_".
  21.  
  22. Both of these bugs are to be fixed in a future release of CDFS by Acorn, but
  23. this is intended as a stopgap measure. We also allow:
  24.  
  25.       * Spaces in Filenames:
  26.     CDs with spaces in filenames now have these transparently changed to
  27.     having <160>'s instead (i.e. hard-spaces). This means that these
  28.     files can be accessed as normal.
  29.  
  30. A debt of Gratitude is owed to Martin Sperl and Mike Martin who wrote the
  31. original Filetypes/CD_Type program on which this is based. Thanks are also
  32. due to Ian Fry who has added various other useful tweaks including allowing
  33. for 'illegal' characters in disc volume titles, Bob Pardoe for spotting
  34. some we missed, and to Alex Thoukydides for adding CD-Extra support.
  35.  
  36. I will endeavour to keep the latest version of this software on-line as:
  37.  
  38.     ftp://ftp.comlab.ox.ac.uk/tmp/Robin.Watts/CDFix.zip
  39.  
  40. Opaque Files:
  41. ~~~~~~~~~~~~~
  42. In the mad mad world of apples, files are generally split into two sections
  43. or "forks". One fork is known as the data fork and contains (for instance)
  44. the compressed frames of a movie, or the image data for bitmaps. The other
  45. is known as the resource fork, and contains information on how to interpret
  46. the data fork, for instance where the frames start, what speed they should
  47. be played back at, what compression type they use etc.
  48.  
  49. These are stored on CDs as separate files, with the same names. They are
  50. differentiated by the resource fork having the "Opaque" bit set.
  51.  
  52. Unfortunately on RISC OS this means that the Filer window shows two
  53. identically named files. As soon as you try to access one of them, it is
  54. always the first of the pair that is actually accessed. Typically this means
  55. you can only get to the resources for a file, and not the data itself (in
  56. fact it can be ther other way round, but either way is useless).
  57.  
  58. As a blatent hack to get around this problem, CDFix patches CDFS to rewrite
  59. any "/" in an opaque files filename as "_". Thus if you have a file
  60. "FRED/MOV" on a CD, you will now see "FRED_MOV" and "FRED/MOV".
  61.  
  62. I wrote this application so as to allow MovieFS to run transparently from CD.
  63. Versions of MovieFS now automatically detect the dual files and use them
  64. transparently.
  65.  
  66. Distribution:
  67. ~~~~~~~~~~~~~
  68.  
  69. This application may be freely distributed via the Internet, as long as if
  70. placed on Web pages, a pointer back to the original site is always included.
  71. It may also be copied for NO charge off the Internet, but it may not be
  72. distributed for any fee (even a media or copying charge) without contacting
  73. the author first. It is specifically forbidden to put this application on
  74. a CD ROM or Magazine cover disc without getting permission first.
  75.  
  76. [These conditions may seem draconian, but I have several times found old
  77. out-of-date versions being distributed where the latest version should have
  78. gone out instead.]
  79.  
  80.  
  81. Contact Addresses:
  82. ~~~~~~~~~~~~~~~~~~
  83.  
  84. I can be contacted at:
  85.  
  86.     Robin Watts
  87.     Warm Silence Software,
  88.     P.O.Box 28,
  89.     Woodstock,
  90.     Oxon, OX20 1XX
  91.     Tel: 0585 487642 (and yes, that is 0585, not 01585)
  92.     Email: Robin.Watts@wss.co.uk
  93.     
  94. Martin Sperl (who wrote the original !Filetypes) can be contacted at:
  95.  
  96.     Martin Sperl,
  97.     Nattergasse 12/32
  98.     A-1170 Vienna
  99.     Austria
  100.     Fido: 2:313/16.6
  101.     Email: Sperl@Astro1.auniw.ac.at
  102.     
  103. I do not have a contact address for Mike Martin other than "Softcorn".
  104.  
  105. History:
  106. ~~~~~~~~
  107. Version 1.00: 4/11/95
  108.  
  109.     Base release version.
  110.  
  111. Version 1.01: 2/3/96
  112.  
  113.     Bug fixed with short extensions.
  114.  
  115. Version 1.50: 17/6/96
  116.  
  117.     Really fixed short extensions.
  118.     Added DOSmapping and File$Type setting along with REMs.
  119.     Fixed spaces in filenames.
  120.  
  121. Version 1.51: 4/10/96
  122.  
  123.     Added 2.29 support (untested)
  124.  
  125. Version 1.55: 15/05/96
  126.  
  127.     Added 2.30 support (untested)
  128.  
  129. Version 1.56: 3/3/97
  130.  
  131.     Changed to ignore errors while issuing DOSMAPs.
  132.  
  133. Version 1.57: 5/3/97
  134.  
  135.     Sets CDFix$Dir on startup.
  136.  
  137. [More changes in the !RunImage comments]
  138.  
  139. [If this all scrolled past too fast, load an editor first. If the editor
  140. displays TABs as [09] then get a copy of real editor like !Zap.]
  141.